package com.ice.work.moment.facade.socket.request;

import com.honeybee.cloud.framework.validation.number.Number;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description 登录请求参数
 * @Author DELL
 * @Create 2019-04-22
 * @Since 1.0.0
 */
@Data
public class LoginRequest {
    @NotNull(message = "accessKey 为空")
    private String accessKey;
    @NotNull(message = "accessSecret 为空")
    private String accessSecret;
    @NotNull(message = "deviceType 为空")
    @Number(enableValues = {1, 2}, message = "deviceType 错误")
    private Integer deviceType;

    private Long pushId;
}
